<!DOCTYPE html>

<html>
    <head>
        <meta charset="UTF-8">
        <title>JSON</title>
        <script src="/javascripts/kfm.js"></script>
        <script src="/javascripts/json.js"></script>
        <style type="text/css">
            textarea {
                font-size: 20px ;
                width: 80% ;
                height: 100px ;
                resize: none ;
            }
        </style>
    </head>

    <body>
        <h3>JSON</h3>

        <button type="button" class="to-string">将对象转换为JSON格式字符串</button>

        <div>
            <textarea name="result"></textarea>
        </div>

        <button type="button" class="from-string">将JSON格式的字符串解析为JavaScript对象</button>
        
    </body>
</html>